package org.jdbcparser.rules;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;

@XmlType(name = "iterator")
public class RulesIterator {

	private String className;
	private List<RulesRow> rows = new ArrayList<RulesRow>();
	private RulesRowSet rowSet;
	
	@XmlAttribute(name = "className")
	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	@XmlElement(name = "row")
	public List<RulesRow> getRows() {
		return rows;
	}

	public void setRows(List<RulesRow> rows) {
		this.rows = rows;
	}

	@XmlElement(name = "rowset")
	public RulesRowSet getRowSet() {
		return rowSet;
	}

	public void setRowSet(RulesRowSet rowSet) {
		this.rowSet = rowSet;
	}
}
